package com.hongyi.dto;

import com.hongyi.pojo.Student;
import lombok.Data;

import java.util.List;

/**
 * @Author: hongyi
 * @CreateTime: 2024-08-30
 */


@Data
public class TeacherDto {
    private Long id;//主键
    private String name;
    private String course;
    private List<Student> students;//老师端定义一个学生列表集合
//setter，getter
}
